package single_game.logic.race_simulator.race_team.rider_actions;

import java.util.Random;

import main.CyclingManager;
import single_game.logic.race_simulator.Group;
import single_game.logic.race_simulator.RaceSimulator;
import single_game.logic.race_simulator.race_team.RaceRider;

public class MaintainPosition {
	private static Random random = new Random();
	
	public static void simulateRiderAction(RaceRider rider) {
		/*
		if (rider.getRiderRole().equals("Team Mate"))  {
			if (rider.getEnergy() > 50.0) {
				rider.setAction("Relay Queue");
				rider.setPower(70);
				Group group = RaceSimulator.findGroupById(rider.getGroupId());
				group.addToRelayGroup(rider);
				System.out.println("---> Maintain -> Relay Queue "+CyclingManager.getInstance().cyclists.get(rider.getCyclistId()).getSurname()+" "+rider.getRiderRole());
			}
		}		
		*/
	}
}
